package com.meichis.yndms.model;

import java.io.Serializable;
import java.util.ArrayList;

public class RotateAdv implements Serializable {

    private String PageCode = "";

    private String Name = "";

    private int Width = 0;

    private int Height = 0;

    private int Timespan = 0;

    private ArrayList<RotateAdvcsItem> Items = new ArrayList<>();

    public String getPageCode() {
        return PageCode;
    }

    public void setPageCode(String pageCode) {
        PageCode = pageCode;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getWidth() {
        return Width;
    }

    public void setWidth(int width) {
        Width = width;
    }

    public int getHeight() {
        return Height;
    }

    public void setHeight(int height) {
        Height = height;
    }

    public int getTimespan() {
        return Timespan;
    }

    public void setTimespan(int timespan) {
        Timespan = timespan;
    }

    public ArrayList<RotateAdvcsItem> getItems() {
        return Items;
    }

    public void setItems(ArrayList<RotateAdvcsItem> items) {
        Items = items;
    }

    @Override
    public String toString() {
        return "RotateAdv{" +
                "PageCode='" + PageCode + '\'' +
                ", Name='" + Name + '\'' +
                ", Width=" + Width +
                ", Height=" + Height +
                ", Timespan=" + Timespan +
                ", Items=" + Items +
                '}';
    }
}
